package com.zc.auth.security.core.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 配置属性
 *
 * @author zcj
 * @version 1.0.0
 * @date 2022/1/21 10:55
 */
@Data
@ConfigurationProperties(prefix = "zc.auth.security")
public class SecurityProcessorProperties {

    @Value(value = "${role-cache-type:default}")
    private String roleCacheType = "redis";

    @Value(value = "${server-name:DEFAULT}")
    private String serverName;

    @Value(value = "${token-type:jwt}")
    private String tokenType;

}
